package com.travel.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import springfox.documentation.annotations.ApiIgnore;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "筛选车辆",description = "用来接收前端的各种筛选值")
public class LookForCarDto {
    // 地点
    @ApiModelProperty(value = "地点id" ,required = true, example = "杭州")
    @TableField(value = "city_id")
    private Integer cityId;

    // 座位数
    @ApiModelProperty(value = "座位数" ,required = false, example = "4")
    private Integer seats;

    // 手动挡自动挡
    @ApiModelProperty(value = "档位" ,required = false, example = "自动挡")
    @TableField(value = "driving_style")
    private String drivingStyle;

    // 汽车品牌
    @ApiModelProperty(value = "汽车品牌" ,required = false, example = "比亚迪")
    @TableField(value = "car_brand")
    private String carBrand;

    // 租车公司
    @ApiModelProperty(value = "汽车类型" ,required = false, example = "suv")
    @TableField(value = "car_type")
    private String carType;

    // 租车公司
    @ApiModelProperty(value = "租车公司" ,required = false, example = "安心租")
    private Integer carCompanyId;


}
